package mapper.marketingMapper;

import entity.marketingEntity.FlashSaleActivity;
import entity.marketingEntity.FlashSaleActivityCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlashSaleActivityMapper {
    int updateflashsaleactivityOnline(@Param("id")Integer id,@Param("online") Integer online);
    List<FlashSaleActivity> getflashsaleactivity(FlashSaleActivityCondition condition);
    int deleteByPrimaryKey(Integer flash_sale_activity_id);

    int insert(FlashSaleActivity record);

    int insertSelective(FlashSaleActivity record);

    FlashSaleActivity selectByPrimaryKey(Integer flash_sale_activity_id);

    int updateByPrimaryKeySelective(FlashSaleActivity record);

    int updateByPrimaryKey(FlashSaleActivity record);
}